﻿using PublicClass;
using PublicClass.BreedingEnum;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace S.Breeding.Domain
{
    /// <summary>
    /// 称重测定表
    /// </summary>
    [Table("SheepWeigh")]
    [Serializable]
    public class SheepWeigh : AuditFields
    {
        /// <summary>
        /// 主键自增
        /// </summary>
        [Key]
        public int SwID { get; set; }
        /// <summary>
        /// 测定日期
        /// </summary>
        public DateTime? WeighDate { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? Earbugles { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public Breed? Breed { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public Sex? Sex { get; set; }
        /// <summary>
        /// 称重月龄
        /// </summary>
        public int? WeighMonth { get; set; }
        /// <summary>
        /// 称重类型
        /// </summary>
        public WeightType? WeightType { get; set; }
        /// <summary>
        /// 重量(公斤)
        /// </summary>
        public decimal? WeightKg { get; set; }

       
    }
}
